/*******************************************************************************
LoginDlg.h

	Author:		LiuDingXi
	e-mail:		liudx@gmail.com
	Date time:	2009-08-17

	Copyright (C) 2009
	All rights reserved.
	
*******************************************************************************/

#ifndef _LoginDlg_H_
#define _LoginDlg_H_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "GDialog.h"

class CLoginDlg : public GDialog
{
public:
	CLoginDlg();
	virtual ~CLoginDlg();
	
	virtual BOOL OnInitDialog(GSight* pSight);
	virtual BOOL OnCommand(UINT nCtrlId, UINT nCommand);

public:

	//{{ CONTROL_INDEX_BEGIN
	enum {
		edUserId = 0,	//Editor
		edPassword = 1,	//Editor
		btLogin = 2,	//Button
		ckSaveCode = 3,	//CheckBox
		ckAutoLogin = 4,	//CheckBox
	};

	//}} CONTROL_INDEX_END

};


#endif//_LoginDlg_H_
